package main

import (
	"fmt"
	"imooc/interface/infra"
)

type retriever interface {
	Get(string) string
}

func getRetriever() retriever{
	return infra.Retriever{}
}

func main(){
	var r retriever = getRetriever()
	res := r.Get("https://www.smzdm.com")
	fmt.Printf(res)
}
